<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductWriteReview.ascx.cs"
    Inherits="Tathata.Web.Modules.Products.ProductWriteReview" %>
<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="~/Modules/SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>

<div style="width: 100%">
    <div class="text1">
        <div style="float: left; padding-top: 10px;">
            <table>
                <tr>
                    <td style="text-align: left; vertical-align: middle;" colspan="2">
                        <strong>
                            <asp:Label runat="server" ID="lblLeaveYourReview"></asp:Label></strong>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductWriteReviewControl.ReviewTitle")%>:
                    </td>
                    <td>
                        <nopCommerce:SimpleTextBox runat="server" ID="txtProductReviewTitle" ValidationGroup="ProductReview"
                            Width="250px"></nopCommerce:SimpleTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductWriteReviewControl.ReviewText")%>:
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtProductReviewText" TextMode="MultiLine" Height="150px"
                            Width="250px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductWriteReviewControl.Rating")%>:
                    </td>
                    <td>
                        <table>
                            <tr>
                                <td>
                                    <%=GetLocaleResourceString("ProductWriteReviewControl.RatingBad")%>
                                </td>
                                <td>
                                    <asp:RadioButtonList runat="server" ID="rblRating" RepeatDirection="Horizontal" RepeatLayout="Table"
                                        ValidationGroup="ProductReview">
                                    </asp:RadioButtonList>
                                </td>
                                <td width="50px;">
                                    <%=GetLocaleResourceString("ProductWriteReviewControl.RatingExcellent")%>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="text-align: left; vertical-align: middle;">
                        <asp:Button runat="server" ID="btnReview" Text="Reviews" ValidationGroup="ProductReview"
                            OnClick="btnReview_Click"></asp:Button>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
